package com.dzjcloud.dzj.common.fegin.annotation;

import com.dzjcloud.dzj.common.fegin.FeignInterceptor;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <h3>dzj-cloud</h3>
 * <p>fegin启用注解</p>
 *
 * @author : DongZeJian
 * @date : 2021-05-08 15:03
 **/
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableFeignClients(basePackages = {"com.dzjcloud.dzj.*.*"})   //开启openfeign支持
@Import({FeignInterceptor.class})
public @interface EnableDzjFegin {
}
